<?php

class PriceModel extends Model 
{

	protected $_validate=array(
		array('title','require','装修报价标题不能为空',0,'','all'),
		array('thumb','require','缩略图片不能为空',0,'','all'),
		array('price','require','装修价格不能为空',0,'','all'),
		array('htmlbody','require','描述内容不能为空',0,'','all'),		
	);	
	protected $_auto  =  array(  	
        array('addtime','time','ADD','function'),
	);
}
?>